package com.cb.domain.dao.user;

import java.util.List;

import com.cb.core.dao.GenericDAO;
import com.cb.domain.model.user.UserAccount;

public interface UserDAO extends GenericDAO<UserAccount, Long>{
	
	public UserAccount findByUserName(String userName);
	
	public List<UserAccount> findByEmail(String email);

	public Boolean isRegisterEmail(String email);

	public Boolean isRegisteredUserName(String userName);
	
	public List<UserAccount> getAllUserType(Long type);
	
	public Integer getAllUserCount();
	public List getAllUserId();
}
